import request from '@/utils/request'

export function orderReturn(id) {
  return request({
    url: `/lejuAdmin/orderReturn/${id}`
  })
}
export function agreeApply(data) {
  return request({
    url: `/lejuAdmin/orderReturn/agreeApply/${data.id}`,
    method: 'post',
    data
  })
}
export function rejectApply(data) {
  return request({
    url: `/lejuAdmin/orderReturn/rejectApply/${data.id}`,
    method: 'post',
    data
  })
}
export function receiveProduct(data) {
  return request({
    url: `/lejuAdmin/orderReturn/receiveProduct/${data.id}`,
    method: 'post',
    data
  })
}

